<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::videostab::ImageMotionEstimatorBase Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../da/d6d/namespacecv_1_1videostab.html">videostab</a></li><li class="navelem"><a class="el" href="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.html">ImageMotionEstimatorBase</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="../../de/dd0/classcv_1_1videostab_1_1ImageMotionEstimatorBase-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::videostab::ImageMotionEstimatorBase Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../d5/d50/group__videostab.html">Video Stabilization</a> &raquo; <a class="el" href="../../d4/d2c/group__videostab__motion.html">Global Motion Estimation</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Base class for global 2D motion estimation methods which take frames as input.  
 <a href="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.html#details">More...</a></p>

<p><code>#include &lt;opencv2/videostab/global_motion.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::videostab::ImageMotionEstimatorBase:</div>
<div class="dyncontent">
 <div class="center">
  <img src="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.png" usemap="#cv::videostab::ImageMotionEstimatorBase_map" alt=""/>
  <map id="cv::videostab::ImageMotionEstimatorBase_map" name="cv::videostab::ImageMotionEstimatorBase_map">
<area href="../../d9/db3/classcv_1_1videostab_1_1FromFileMotionReader.html" alt="cv::videostab::FromFileMotionReader" shape="rect" coords="0,56,265,80"/>
<area href="../../d5/dec/classcv_1_1videostab_1_1KeypointBasedMotionEstimator.html" title="Describes a global 2D motion estimation method which uses keypoints detection and optical flow for ma..." alt="cv::videostab::KeypointBasedMotionEstimator" shape="rect" coords="275,56,540,80"/>
<area href="../../dc/dc1/classcv_1_1videostab_1_1ToFileMotionWriter.html" alt="cv::videostab::ToFileMotionWriter" shape="rect" coords="550,56,815,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab7b56b0352976d8084604fc458648958"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.html#ab7b56b0352976d8084604fc458648958">~ImageMotionEstimatorBase</a> ()</td></tr>
<tr class="separator:ab7b56b0352976d8084604fc458648958"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad00c9820ae28ce5a00edcfc5df526ea2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.html#ad00c9820ae28ce5a00edcfc5df526ea2">estimate</a> (const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;frame0, const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;frame1, bool *ok=0)=0</td></tr>
<tr class="separator:ad00c9820ae28ce5a00edcfc5df526ea2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a841d954ea87bc9453590180096b36646"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="../../d4/d2c/group__videostab__motion.html#gac61e59db30b7d13983885d3ad3116ce1">MotionModel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.html#a841d954ea87bc9453590180096b36646">motionModel</a> () const</td></tr>
<tr class="separator:a841d954ea87bc9453590180096b36646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac82d2de9d188ca96e6e7e0455cfa079a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.html#ac82d2de9d188ca96e6e7e0455cfa079a">setFrameMask</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> mask)</td></tr>
<tr class="separator:ac82d2de9d188ca96e6e7e0455cfa079a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa8d7b05663b5ab2f70dd24a344fac44"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.html#afa8d7b05663b5ab2f70dd24a344fac44">setMotionModel</a> (<a class="el" href="../../d4/d2c/group__videostab__motion.html#gac61e59db30b7d13983885d3ad3116ce1">MotionModel</a> val)</td></tr>
<tr class="separator:afa8d7b05663b5ab2f70dd24a344fac44"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a57edcbe22bc6b8aefd80ea7de0f2a2a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dd1/classcv_1_1videostab_1_1ImageMotionEstimatorBase.html#a57edcbe22bc6b8aefd80ea7de0f2a2a8">ImageMotionEstimatorBase</a> (<a class="el" href="../../d4/d2c/group__videostab__motion.html#gac61e59db30b7d13983885d3ad3116ce1">MotionModel</a> model)</td></tr>
<tr class="separator:a57edcbe22bc6b8aefd80ea7de0f2a2a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for global 2D motion estimation methods which take frames as input. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab7b56b0352976d8084604fc458648958"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7b56b0352976d8084604fc458648958">&#9670;&nbsp;</a></span>~ImageMotionEstimatorBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual cv::videostab::ImageMotionEstimatorBase::~ImageMotionEstimatorBase </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a57edcbe22bc6b8aefd80ea7de0f2a2a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57edcbe22bc6b8aefd80ea7de0f2a2a8">&#9670;&nbsp;</a></span>ImageMotionEstimatorBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::videostab::ImageMotionEstimatorBase::ImageMotionEstimatorBase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d4/d2c/group__videostab__motion.html#gac61e59db30b7d13983885d3ad3116ce1">MotionModel</a>&#160;</td>
          <td class="paramname"><em>model</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ad00c9820ae28ce5a00edcfc5df526ea2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad00c9820ae28ce5a00edcfc5df526ea2">&#9670;&nbsp;</a></span>estimate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> cv::videostab::ImageMotionEstimatorBase::estimate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;&#160;</td>
          <td class="paramname"><em>frame0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../d3/d63/classcv_1_1Mat.html">Mat</a> &amp;&#160;</td>
          <td class="paramname"><em>frame1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>ok</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="../../d5/dec/classcv_1_1videostab_1_1KeypointBasedMotionEstimator.html#a5fb98833d57373577ba78799b5abe7e6">cv::videostab::KeypointBasedMotionEstimator</a>, <a class="el" href="../../dc/dc1/classcv_1_1videostab_1_1ToFileMotionWriter.html#afe97e4ca5c85a4ea7ef76e9b6e86a286">cv::videostab::ToFileMotionWriter</a>, and <a class="el" href="../../d9/db3/classcv_1_1videostab_1_1FromFileMotionReader.html#a7a8a8ce829aa88a3ab8e54ed3f5f66d3">cv::videostab::FromFileMotionReader</a>.</p>

</div>
</div>
<a id="a841d954ea87bc9453590180096b36646"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a841d954ea87bc9453590180096b36646">&#9670;&nbsp;</a></span>motionModel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d4/d2c/group__videostab__motion.html#gac61e59db30b7d13983885d3ad3116ce1">MotionModel</a> cv::videostab::ImageMotionEstimatorBase::motionModel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="../../d5/dec/classcv_1_1videostab_1_1KeypointBasedMotionEstimator.html#aef396847ece742047bcf40a415ffa898">cv::videostab::KeypointBasedMotionEstimator</a>, and <a class="el" href="../../dc/dc1/classcv_1_1videostab_1_1ToFileMotionWriter.html#ac7c4c2596a7b18602ec444f4c3642409">cv::videostab::ToFileMotionWriter</a>.</p>

</div>
</div>
<a id="ac82d2de9d188ca96e6e7e0455cfa079a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac82d2de9d188ca96e6e7e0455cfa079a">&#9670;&nbsp;</a></span>setFrameMask()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::videostab::ImageMotionEstimatorBase::setFrameMask </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="../../d5/dec/classcv_1_1videostab_1_1KeypointBasedMotionEstimator.html#aa1ad1af1c82b1231a81db24512e81221">cv::videostab::KeypointBasedMotionEstimator</a>, and <a class="el" href="../../dc/dc1/classcv_1_1videostab_1_1ToFileMotionWriter.html#ac6c1414027021c240767cfceaef7f10f">cv::videostab::ToFileMotionWriter</a>.</p>

</div>
</div>
<a id="afa8d7b05663b5ab2f70dd24a344fac44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa8d7b05663b5ab2f70dd24a344fac44">&#9670;&nbsp;</a></span>setMotionModel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::videostab::ImageMotionEstimatorBase::setMotionModel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d4/d2c/group__videostab__motion.html#gac61e59db30b7d13983885d3ad3116ce1">MotionModel</a>&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="../../d5/dec/classcv_1_1videostab_1_1KeypointBasedMotionEstimator.html#a39e32aad5e5befe66b1f63a4c90ca0f4">cv::videostab::KeypointBasedMotionEstimator</a>, and <a class="el" href="../../dc/dc1/classcv_1_1videostab_1_1ToFileMotionWriter.html#af1b5617fa890b67fae05e834eff08a39">cv::videostab::ToFileMotionWriter</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/videostab/<a class="el" href="../../d1/d44/global__motion_8hpp.html">global_motion.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
